﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;


namespace nadModel.pad
{
    public partial class PartOprEntityProcess : AbstractEntityProcess
    {
        public string conection_addr = "http://nad.nadfinlo.com.cn/nad/";
        public PartOprEntity[] FindByParameter(string company, string part, string rev)
        {
            string sql = "  select * from " + PartOprEntity.DB_TABLES + " where " + PartOprEntity.PARTNUM + " ='" + part + "' and " + PartOprEntity.COMPANY + "='" + company + "' and " + PartOprEntity.REVISIONNUM + "='" + rev + "'";

            PartOprEntity[] ents = (PartOprEntity[])FindBySql(sql, conection_addr);
            return ents;
        }


    }
}
